package com.opgea.crm.common.vo;

public class ActivityVo {

	private Long id;
	private String dueDate;
	private String activityType;
	private long activityTypeId;
	
	private String salesPerson;
	private long salesPersonId;
	
	private String contactTo;
	
	private String opportunityTitle;
	private long opportunityTitleId;
	private String stage;
	private long stageId;
	private String status;
	private long statusId;
	private String priority;
	private long priorityId;
	
	private String subject;
	private int duration;
	private boolean reminder;
	private String reminderDate;
	private String activityNotes;
	
	private String createdBy;
		
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getDueDate() {
		return dueDate;
	}
	public void setDueDate(String dueDate) {
		this.dueDate = dueDate;
	}
	public String getActivityType() {
		return activityType;
	}
	public void setActivityType(String activityType) {
		this.activityType = activityType;
	}
	public long getActivityTypeId() {
		return activityTypeId;
	}
	public void setActivityTypeId(long activityTypeId) {
		this.activityTypeId = activityTypeId;
	}
	public String getSalesPerson() {
		return salesPerson;
	}
	public void setSalesPerson(String salesPerson) {
		this.salesPerson = salesPerson;
	}
	public long getSalesPersonId() {
		return salesPersonId;
	}
	public void setSalesPersonId(long salesPersonId) {
		this.salesPersonId = salesPersonId;
	}
	public String getContactTo() {
		return contactTo;
	}
	public void setContactTo(String contactTo) {
		this.contactTo = contactTo;
	}
	public String getOpportunityTitle() {
		return opportunityTitle;
	}
	public void setOpportunityTitle(String opportunityTitle) {
		this.opportunityTitle = opportunityTitle;
	}
	public long getOpportunityTitleId() {
		return opportunityTitleId;
	}
	public void setOpportunityTitleId(long opportunityTitleId) {
		this.opportunityTitleId = opportunityTitleId;
	}
	public String getStage() {
		return stage;
	}
	public void setStage(String stage) {
		this.stage = stage;
	}
	public long getStageId() {
		return stageId;
	}
	public void setStageId(long stageId) {
		this.stageId = stageId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public long getStatusId() {
		return statusId;
	}
	public void setStatusId(long statusId) {
		this.statusId = statusId;
	}
	public String getPriority() {
		return priority;
	}
	public void setPriority(String priority) {
		this.priority = priority;
	}
	public long getPriorityId() {
		return priorityId;
	}
	public void setPriorityId(long priorityId) {
		this.priorityId = priorityId;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getSubject() {
		return subject;
	}	
	public void setDuration(int duration) {
		this.duration = duration;
	}
	public int getDuration() {
		return duration;
	}
	public void setReminderDate(String reminderDate) {
		this.reminderDate = reminderDate;
	}
	public String getReminderDate() {
		return reminderDate;
	}
	public void setActivityNotes(String activityNotes) {
		this.activityNotes = activityNotes;
	}
	public String getActivityNotes() {
		return activityNotes;
	}
	public void setReminder(boolean reminder) {
		this.reminder = reminder;
	}
	public boolean isReminder() {
		return reminder;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ActivityVo other = (ActivityVo) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "ActivityVo [id=" + id + ", dueDate=" + dueDate
				+ ", activityType=" + activityType + ", salesPerson="
				+ salesPerson + ", opportunityTitle=" + opportunityTitle
				+ ", stage=" + stage + ", status=" + status + "]";
	}

}
